home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: challenger.sheridanc.on.ca!gerrity
- From: gerrity@challenger.sheridanc.on.ca (jason gerrity)
- Subject: Dos Environment Variables
- Message-ID: <DnyIxM.JHF@relay.sheridanc.on.ca>
- Sender: news@relay.sheridanc.on.ca (USENET News System)
- Nntp-Posting-Host: challenger.sheridanc.on.ca
- Organization: Sheridan College, Ont., Canada
- X-Newsreader: TIN [version 1.2 PL2]
- Date: Fri, 8 Mar 1996 16:24:57 GMT
-
-
- Does anyone know of a way to set a DOS environment variable within
- a cpp program that will stay set after the program terminates?
-
- Both putenv and system will only set an environment variable for
- the duration of the cpp program...
-
- thanks,
-
- Jason
-
- -----------------------------------------------------------------------------
- Jason Gerrity "The whole world's a stage...and this is
- Information Technology just the end of act 1"
- 1430 Trafalgar Rd.
- Oakville, Ont. Voice (905)-845-9430 ext. 2177
- L6H 2L1 Fax (905)-815-4011
- Email jason.gerrity@sheridanc.on.ca
- -----------------------------------------------------------------------------
-
-